package com.atguigu.java8.lambdaDemo;

/**
 * @author Xiaohong X Gou
 * @createTime 2022-10-11 11:02
 * @description
 */
public class FilterEmployeeBySalary implements MyPredicate<Employee>{
    @Override
    public boolean test(Employee t) {
        return t.getSalary()>5000;
    }
}
